Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

Previous Next

The dialog is under the body tag, that's not right is it?...

- I installed the EventBug extension to FireBug, and logged clicks on the Accept Button for one of my dialogs. When I look at the event in the log and follow the parent links back up the chain, it ends at <body>. If I'm not mistaken in order to function correctly a dijit dialog has to be under <form>.

- I'm currently using the "ZetaOne wrapper", which looks like it should be automagically putting the dialog under <form>, but it doesn't seem to be putting it there based on the event chain.

- Actually Jeremy's own dialog_create() has this line:

dojo.body().appendChild(dialogWidget.domNode);

which should move under <body> *after* ZetaOne's constructor puts it under <form>. That implies <body> is the right place for it.

Is this in the right place?...

EDIT:

Even when I replace the body setting above with this:

dojo.query('form', dojo.body())[0].appendChild(dialogWidget.domNode);

the event still shows as being under the body.

- My surmise on this dialog issue is the dialog is improperly placed in the DOM tree, so the XPage doesn't always know how to handle the dialog event. I could be wrong, however, because even when it fails, it runs querySaveDocument, so the XPage knows that something needs to be done. It's simply not running postSaveDocument.

- I have a PMR open on this, and have had for months. So far all I've gotten is that dojo is a third-party product and Lotus doesn't support it, so I'm swinging in the breeze. Yet Lotus appears to have no other suggestion for a dialog on a XPage. I'd really appreciate any input...


Feedback response number DGIE86YKSG created by ~Holly Zekhipisonnivu on 07/02/2010

Question for someone who'd actually... (~James Brewever... 30.Jun.10)
. . I've done it with Dojo samples. (~Rex Pretoolito... 30.Jun.10)
. . . . Thanks Simon. But how do you get i... (~James Brewever... 30.Jun.10)
. . . . The dialog is under the body tag, t... (~James Brewever... 2.Jul.10)
. . *bump* -> Still not working... (~James Brewever... 1.Jul.10)
. . . . Have you seen this post (~Martha Umtumis... 6.Jul.10)
. . . . . . Thanks David... (~James Brewever... 6.Jul.10)
. . . . . . . . Dialogs... (~Martha Umtumis... 8.Jul.10)
. . . . . . . . . . Dunno, I'll give it a go and see. ... (~James Brewever... 8.Jul.10)
. . . . . . . . . . . . same error message (Dialog into a r... (~Pippy Elavitch... 9.Mar.11)
. . . . . . . . . . . . . . It seems like your error is not the... (~Zelda Ekresask... 11.Mar.11)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS